{
  Page({
    data:{
      condition: Math.floor(Math.random()*24+1)//有多少名*多少名 比如有7位 *7+1
    },

    changeMotto: function() {

      var that = this;
      this.interval =setInterval(function () {
        that.changeContent();
        console.log("轮播请求0.01秒触发一次");
      }, 10)    //代表0.01秒钟发送一次请求
      
    },
    changeContent: function () {
      var isShow = this.data.condition;
      this.setData({ condition: Math.floor(Math.random()*7+1) })
    },
    endMotto: function() {
     
      clearInterval(this.interval);
    },
  })
  
}
